package com.shop.service;

import com.shop.pojo.DtsAccountTrace;
import com.shop.pojo.DtsUserAccount;

import java.util.List;
import java.util.Map;

/**
 * @ClassName DtsAccountTraceService
 * @Author xiao宋
 * @Date 18:14  2022/10/15
 * @Version 1.0
 * @Description TODO
 */
public interface DtsAccountTraceService {
    /**
     * 佣金管理处分页
     * @param page
     * @param limit
     * @param sort
     * @param order
     * @param username
     * @param mobile
     * @param statusArray
     * @return
     */
    Map<String, Object> findByPage(Integer page, Integer limit, String sort, String order, String username, String mobile, List<Integer[]> statusArray);

    /**
     * 佣金审批
     * @param account
     * @return
     */
    boolean approve(DtsAccountTrace account);
}
